package grape.workflow.service.form.enums;

import lombok.Data;

/**
 * 表单类型
 * Created by yangwei
 * Created at 2020/6/28 15:32
 */
public enum FormType {
    dynamic("dynamic","动态表单"), // 动态表单
    relation("relation","外置表单"), // 关联表单，外置表单
    normal("normal","普通表单") // 普通表单，自定义表单
    ;

    private String type;
    private String name;
    FormType(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }}
